package com.example.day05.service.impl;

import com.example.day05.dao.CategoryMapper;
import com.example.day05.pojos.Category;
import com.example.day05.service.CategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CategoryServiceImpl implements CategoryService {
    @Autowired
    CategoryMapper categoryMapper;
    @Override
    public boolean add(Category category) {
        return categoryMapper.add(category);
    }
}
